<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@page contentType="text/html;charset=UTF-8"   language="java"  %>
<%
  	String base = request.getContextPath();
	String redirectUrl = request.getParameter("redirectUrl");
%>
<!DOCTYPE html>
<html>
<c:if test="${sessionScope.language != null && sessionScope.language != ''}">
	<fmt:setLocale value="${sessionScope.language}" scope="session"/>
</c:if>
	<head>
		<meta charset="utf-8">
		<title>Homepage  - Market Place by jasons<%--<fmt:message key="index.title" /><fmt:message key="index.market" />--%></title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<meta http-equiv="expires" content="0">

		<jsp:include page="/pages/common/include.jsp"  flush="true"/>
		<link rel="stylesheet" href="<%=base%>/resources/css/loginRegis/login.css" />

	</head>

	<body>

	<input  id="redirectUrl"  value="<%=redirectUrl%>" hidden="hidden">

		<div id="offCanvasWrapper" class="mui-off-canvas-wrap mui-draggable">
			<!--侧滑菜单部分-->
			<aside id="offCanvasSide" class="mui-off-canvas-left">
				<div id="offCanvasSideScroll" class="mui-scroll-wrapper">
					<div class="mui-scroll">
						<jsp:include page="/pages/common/menu.jsp" flush="true" />
					</div>
				</div>
			</aside>
			<!--主界面部分-->
			<div class="mui-inner-wrap">
				<header class="mui-bar mui-bar-nav" id="headBox">
					<jsp:include page="/pages/common/top.jsp" flush="true" />
				</header>
				<header class="mui-bar mui-bar-nav GreenHeader">
				    <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
				    <h1 class="mui-title">Login<%--<fmt:message key="login.title" />--%></h1>
				</header>
				<div id="offCanvasContentScroll" class="mui-content mui-scroll-wrapper noHead">
					<div class="mui-scroll">
						<div class="loginBox">
							<div class="error">
								<img src="<%=base%>/resources/images/icon/error.png" />
								<span></span>
							</div>
							<div class="title">Member Login<%--<fmt:message key="login.member.title" />--%></div>
							<p>Please login with your Market Place by Jasons account<%--<fmt:message key="login.description" />--%> </p>
							<input type="email" id="email" placeholder="Email address" value="" />
							<input type="password" id="password" placeholder="Password" value="" />
							<div class="form-group">
								<p>Please enter word in the picture<br/>(Case Sensitive)</p>
								<input type="text" id="vildate" placeholder="See the picture Below" />
								<div class="vilidate">
									<img src="http://203.189.170.43/mpj2/Captcha.jpg" />
								</div>
							</div>
							<a href="javascript:void(0)" class="LogIn mui-btn mui-btn-block">Login<%--<fmt:message key="login.login" />--%></a>
							<div class="btnBox">
								<a href="javascript:void(0)" class="forgetPwd mui-pull-left">Forgot password?<%--<fmt:message key="login.forget" />--%></a>
								<a href="javascript:void(0)" class="GreateAaccount mui-pull-right">Register<%--<fmt:message key="login.create" />--%></a>
							</div>
						</div>
						<div class="footer" id="footer">
							<jsp:include page="/pages/common/footer.jsp" flush="true" />
						</div>
					</div>
			</div>
				<!--searchbar-->
				<div class="searchBar">
					<jsp:include page="/pages/common/search.jsp" flush="true" />
				</div>
				
				<div class="rightBottom animate"></div>
			</div>
		</div>
		<script type="text/javascript" src="<%=base%>/resources/js/login-regis/login.js" ></script>
		<script>
		
		//主界面和侧滑菜单界面均支持区域滚动；
			mui('#offCanvasSideScroll').scroll();
			mui('#offCanvasContentScroll').scroll();
		</script>
	</body>

</html>